package idiet.bean;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.persistence.*;

import java.sql.Timestamp;


/**
 * The persistent class for the customer_nurse_trace database table.
 * 
 */
@Entity
@Table(name="customer_nurse_trace")
public class CustomerNurseTrace implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int id;

	private String comment;

	@Column(name="effect_comment")
	private String effectComment;

	@Column(name="effect_judge")
	private String effectJudge;

	@Column(name="lm_timestamp")
	private Timestamp lmTimestamp;

	//bi-directional many-to-one association to CustomerNurse
	@ManyToOne
	@JoinColumn(name="nurse_id")
	private CustomerNurse customerNurse;

	//bi-directional many-to-one association to NurseMealType
	@ManyToOne
	@JoinColumn(name="trace_type_id")
	private NurseMealType nurseMealType;
	
	private BigDecimal height;

	private BigDecimal hip;

	private BigDecimal waist;

	private BigDecimal weight;
	
	private BigDecimal bust;
	
	public CustomerNurseTrace() {
	}

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getEffectComment() {
		return this.effectComment;
	}

	public void setEffectComment(String effectComment) {
		this.effectComment = effectComment;
	}

	public String getEffectJudge() {
		return this.effectJudge;
	}

	public void setEffectJudge(String effectJudge) {
		this.effectJudge = effectJudge;
	}

	public Timestamp getLmTimestamp() {
		return lmTimestamp;
	}

	public void setLmTimestamp(Timestamp lmTimestamp) {
		this.lmTimestamp = lmTimestamp;
	}

	public CustomerNurse getCustomerNurse() {
		return this.customerNurse;
	}

	public void setCustomerNurse(CustomerNurse customerNurse) {
		this.customerNurse = customerNurse;
	}

	public NurseMealType getNurseMealType() {
		return this.nurseMealType;
	}

	public void setNurseMealType(NurseMealType nurseMealType) {
		this.nurseMealType = nurseMealType;
	}

	public BigDecimal getHeight() {
		return height;
	}

	public void setHeight(BigDecimal height) {
		this.height = height;
	}

	public BigDecimal getHip() {
		return hip;
	}

	public void setHip(BigDecimal hip) {
		this.hip = hip;
	}

	public BigDecimal getWaist() {
		return waist;
	}

	public void setWaist(BigDecimal waist) {
		this.waist = waist;
	}

	public BigDecimal getWeight() {
		return weight;
	}

	public void setWeight(BigDecimal weight) {
		this.weight = weight;
	}

	public BigDecimal getBust() {
		return bust;
	}

	public void setBust(BigDecimal bust) {
		this.bust = bust;
	}
	
}